gql query with parameters

100

gql query with parameters -

query HeroNameAndFriends($episode: Episode) {
  hero(episode: $episode) {
    name
  }
}

VARIABLES:

{
  "episode": "JEDI"
}

Comments

Submit
0 Comments